package com.qidian.mes.pojo.pro;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author 郭靖旖
 * @Company
 * @Time 2023/10/26 14:27
 * @Description
 **/
@Data
public class ProWorkorder {
    private Long workorderId;//工单编号
    private String workorderCode;//工单编码
    private String workorderName;//工单名称
    private String orderSource;//来源类型
    private String sourceCode;//来源单据
    private Long productId;//产品Id
    private String productCode;//产品编号
    private String productName;//产品名称
    private String productSpc;//规格型号
    private String unitOfMeasure;//单位
    private Double quantity;//工单数量
    private Double quntityProduced;//已生产数量
    private Double quntityChanged;//调整数量
    private Double quntityScheduled;//已排产数量
    private Long clientId;//客户ID
    private String clientCode;//客户编码
    private String clientName;//客户名称
    private String batchCode;//批次号
    private Date requestDate;//需求日期
    private Long parentId;//父工单
    private String ancestors;//所有父节点Id
    private Date finishDate;//完成时间
    private String status;//单据状态;
    private String remark;//备注
    private String createBy;//创建者
    private Date createTime;//创建时间
    private String updateBy;//更新者
    private Date updateTime;//更新时间

    public Long getWorkorderId() {
        return workorderId;
    }

    public void setWorkorderId(Long workorderId) {
        this.workorderId = workorderId;
    }

    public String getWorkorderCode() {
        return workorderCode;
    }

    public void setWorkorderCode(String workorderCode) {
        this.workorderCode = workorderCode;
    }

    public String getWorkorderName() {
        return workorderName;
    }

    public void setWorkorderName(String workorderName) {
        this.workorderName = workorderName;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductSpc() {
        return productSpc;
    }

    public void setProductSpc(String productSpc) {
        this.productSpc = productSpc;
    }

    public String getUnitOfMeasure() {
        return unitOfMeasure;
    }

    public void setUnitOfMeasure(String unitOfMeasure) {
        this.unitOfMeasure = unitOfMeasure;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public Double getQuntityProduced() {
        return quntityProduced;
    }

    public void setQuntityProduced(Double quntityProduced) {
        this.quntityProduced = quntityProduced;
    }

    public Double getQuntityChanged() {
        return quntityChanged;
    }

    public void setQuntityChanged(Double quntityChanged) {
        this.quntityChanged = quntityChanged;
    }

    public Double getQuntityScheduled() {
        return quntityScheduled;
    }

    public void setQuntityScheduled(Double quntityScheduled) {
        this.quntityScheduled = quntityScheduled;
    }

    public Long getClientId() {
        return clientId;
    }

    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }

    public String getClientCode() {
        return clientCode;
    }

    public void setClientCode(String clientCode) {
        this.clientCode = clientCode;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    public Date getRequestDate() {
        return requestDate;
    }

    public void setRequestDate(Date requestDate) {
        this.requestDate = requestDate;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public Date getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(Date finishDate) {
        this.finishDate = finishDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
